package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *管理员-权限表
 */
@Data
@Accessors(chain = true)
@TableName("sys_admin_and_roles")
public class SysAdminAndRoles implements Serializable {

    private static final long serialVersionUID = -5192329900525420714L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long userId;
    private Integer roleId;
}
